import http from '@/utils/http'

export function uploadApi(file: File) {
  const fd = new FormData()
  fd.append('file', file)
  return http.post('/upload', fd)
}
